package com.anjubao.parking.municipal.parkinglot.mapper;

import com.anjubao.parking.municipal.parkinglot.dto.DeviceLogDto;
import com.anjubao.parking.municipal.parkinglot.model.ParkingLotDeviceLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备日志
 *
 * @author anjubao
 */
@Mapper
public interface ParkingLotDeviceLogMapper extends BaseMapper<ParkingLotDeviceLog> {

    /**
     * 设备日志服务
     * @param deviceLogDtoList
     */
    void saveLog(@Param("deviceLogDtoList") List<DeviceLogDto> deviceLogDtoList);
}